//
//  payTypeView.m
//  SP2P
//
//  Created by Eternal on 2017/8/9.
//  Copyright © 2017年 EIMS. All rights reserved.
//

#import "payTypeView.h"
@interface payTypeView ()

@end
@implementation payTypeView

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self = [[[NSBundle mainBundle]loadNibNamed:@"payTypeView" owner:self options:nil]lastObject];
        self.backgroundColor = [[UIColor blackColor] colorWithAlphaComponent:0.7];
        self.payTypeLab.font = KFontSize(16);
        self.backView.layer.masksToBounds = YES;
        self.backView.layer.cornerRadius = 5.0;
        
        
    }
    return self;
}

- (IBAction)cancelBackView:(UIButton *)sender {
    
    [self cancelView];
}
- (void)cancelView{

   [self removeFromSuperview];
}
@end
